package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient  // 启用 Nacos 注册发现
public class App {
    public static void main(String[] args) {
        try {
            //命令行参数    jvm参数
            SpringApplication.run(App.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }

    }
}
